<?php

namespace App\Models\Project;

use App\Models\UserRole;
use Illuminate\Database\Eloquent\SoftDeletes;

class ProjectType extends Base
{
    use SoftDeletes;

    protected $table = 'pm_project_types';

    protected $fillable = [
        'name',
        'number',
        'default_professional_uid',
    ];

    public function progress()
    {
        return $this->belongsToMany(Progress::class, 'pm_project_type_progress',  'progress_id','project_type_id');
    }
}
